<!--
 * @Author       : xiangmin
 * @File         : 多文件预览
 * @Date         : 2023-11-10 10:32:53
 * @LastEditors  : xiangmin
 * @LastEditTime : 2024-05-07 14:51:43
-->
<template>
	<section class="flex gap-5 items-center flex-wrap">
		<CImage
			v-for="src in group || []"
			:key="src"
			:src="src"
			v-bind="props"
		/>
	</section>
</template>

<script setup lang="ts">
import type { Group } from './index.d'
import CImage from './index.vue'

const props = withDefaults(defineProps<Group>(), {
	mask: true,
	preview: true,
	maskClosable: true,
	escCloseable: true,
	lockBodyScroll: true
})
</script>
